<div class="box-footer clearfix">
    <div class="pull-left pagination-detail">
        <span class="pagination-info">总共 <span th:text="${page.countrecord}"></span> 条记录</span>
        <span class="page-list">每页显示 <span th:text="${page.pageSize}"></span> 条记录</span>
    </div>
    <div class="pull-right pagination-detail">
        <div style="float: left; margin-right: 15px;">
            <input type="number" step="1" id="pageno" style="width:50px;border:1px solid #000" />
            <a href="javascript:void(0);" class="btn btn-success" onclick="jumpPage($('#pageno').val())">GO</a>
        </div>

        <ul class="pagination no-margin" style="margin:0">
            <li th:if="${page.nowpage ne 1}"><a href="javascript:void(0);" onclick="jumpPage(1)">首页</a></li>
            <li th:if="${page.nowpage ne 1}"><a href="javascript:void(0);" th:onclick="'jumpPage('+${page.nowpage-1}+')'">上一页</a></li>
            <th:block th:each="i:${#numbers.sequence(page.endindex-4, page.endindex)}">
                <li th:if="${page.nowpage eq i}" class="active"><a href="#" class="currentPage" th:text="${i}"></a></li>
                <li th:if="${page.nowpage ne i && page.countrecord ne 0 && i > 0}"><a href="javascript:void(0);" th:text="${i}" th:onclick="'jumpPage('+${i}+')'"></a></li>
            </th:block>
            <li th:if="${page.nowpage ne page.countpage && page.countrecord ne 0}"><a href="javascript:void(0);" th:onclick="'jumpPage('+${page.nowpage+1}+')'">下一页</a></li>
            <li th:if="${page.nowpage ne page.countpage && page.countrecord ne 0}"><a href="javascript:void(0);" th:onclick="'jumpPage('+${page.countpage}+')'">尾页</a></li>
        </ul>
    </div>
</div>